package dao;


public class DAOException extends Exception{

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	private String exception;
	
	public String IllegalArgException(IllegalArgumentException e){
		return e.getMessage();
	}
	
	public DAOException(String exception){
		this.exception = exception;
	}

	public String getException() {
		return exception;
	}

	public void setException(String exception) {
		this.exception = exception;
	}

}
